/*
 * @Description:
 * @Version: 1.0
 * @Autor: gaoluo
 * @Date: 2021-08-20 14:29:52
 * @LastEditors: gaoluo
 * @LastEditTime: 2021-11-04 19:50:58
 * @FilePath: /nhw/src/router/module/profile.js
 */
import trans from './util/addPre.js';

const profile = [
  {
    name: 'Settings',
    path: 'settings',
    meta: {
      level: 2,
      title: '设置'
    },
    component: () => import('views/Profile/Settings')
  },
  {
    name: 'ResetPasswords',
    path: 'resetPasswords',
    meta: {
      level: 3,
      title: '重置密码'
    },
    component: () => import('views/Profile/ResetPasswords')
  },
  {
    name: 'Points',
    path: 'points',
    meta: {
      level: 2,
      title: '积分记录'
    },
    component: () => import('views/Profile/Points')
  },
  {
    name: 'Information',
    path: 'information',
    meta: {
      level: 2,
      title: '个人信息'
    },
    component: () => import('views/Profile/Information')
  }
]

trans('/profile/', profile)

export default profile